package com.spica.platform;

import com.spica.platform.gateway.annotation.EnableNacosDynamicRoute;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import reactivefeign.spring.config.EnableReactiveFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableNacosDynamicRoute
@EnableReactiveFeignInterceptor
@EnableReactiveFeignClients(defaultConfiguration= GlobalFeignConfig.class)
public class ApiGateWayApp {
    public static void main(String[] args) {
        SpringApplication.run(ApiGateWayApp.class, args);
    }
}